#pragma once

#include <render/Primitives/Image.h>
#include <render/Others/PerseusLibDefines.h>

namespace pwp {

class ImageRender {
public:
  int width, height;

  ImageUChar imageFill;
  ImageUInt imageZBuffer;

  void Clear() {
    imageFill.Clear();
    imageZBuffer.Clear(MAX_INT);
  }

  ImageRender(int width, int height) : 
    imageFill(ImageUChar(width, height)),
    imageZBuffer(ImageUInt(width, height))
  {
    this->width = width;
    this->height = height;
  }
};

}
